<?php

// Composer: "fzaninotto/faker": "v1.3.0"
// use Faker\Factory as Faker;

class TipesTableSeeder extends Seeder {

	public function run()
	{
		// $faker = Faker::create();

		// foreach(range(1, 10) as $index)
		// {
			Tipe::create([
				"kode"       => 'TP001',
				"nama"       => 'Rumah',
				"keterangan" => 'Rumah',
				"user_id"    => 1
			]);
			Tipe::create([
				"kode"       => 'TP002',
				"nama"       => 'Penginapan',
				"keterangan" => 'Penginapan',
				"user_id"    => 1
			]);
			Tipe::create([
				"kode"       => 'TP003',
				"nama"       => 'Kost',
				"keterangan" => 'Kost',
				"user_id"    => 1
			]);
			Tipe::create([
				"kode"       => 'TP004',
				"nama"       => 'Apartement',
				"keterangan" => 'Apartement',
				"user_id"    => 1
			]);
		// }
	}

}